/*
 * TextStyle.java
 * $Id: $
 *
 * Revision History
 *
 * Date             |  Programmer   |  Notes
 * ----------------------------------------------------------
 * Jul 16, 2009        |      Zhengnan Zhou         |  initial
 * 
 * 
 * **********************************************************
 */
package tofc.style;

/**
 * Class description goes here.
 * 
 * @author		Zhengnan Zhou
 * @version 	$Revision$, Jul 17, 2009
 */
public class TextStyle {

    protected StringBuffer json;
    private int fontSize;
    private String fontFamily;
    private int fontWeight;
    private String color;
    private String backgroundColor;
    private String textAlign;
    private int margin;
    private int marginLeft;
    private int marginRight;
    private int marginTop;
    private int marginBottom;
    private int padding;
    private int paddingLeft;
    private int paddingRight;
    private int paddingTop;
    private int paddingBottom;

    public String toCss(){
        return "";
    }

    /**
     * @return json
     */
    public StringBuffer toJson() {
        this.json = new StringBuffer();
        return this.json;
    }
}
